home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / SimpleTrap / SimpleTrapTest / SimpleTrapTest.c next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  133 b   |  15 lines

  1. /* SimpleTrapTest.c */
  2.  
  3.  
  4. asm int
  5. main(void)
  6. {
  7.     link    a6,#0
  8.     
  9.     dc.w    0xABCD        /* _ABCD */
  10.     
  11.     moveq    #0,d0        /* return 0 */
  12.     unlk    a6
  13.     rts
  14. }
  15.